import request from '@/utils/request'

// 查询互动问题的回答或评论列表
export function listInteraction_reply(query) {
  return request({
    url: '/study/interaction_reply/list',
    method: 'get',
    params: query
  })
}

// 查询互动问题的回答或评论详细
export function getInteraction_reply(id) {
  return request({
    url: '/study/interaction_reply/' + id,
    method: 'get'
  })
}

// 新增互动问题的回答或评论
export function addInteraction_reply(data) {
  return request({
    url: '/study/interaction_reply',
    method: 'post',
    data: data
  })
}

// 修改互动问题的回答或评论
export function updateInteraction_reply(data) {
  return request({
    url: '/study/interaction_reply',
    method: 'put',
    data: data
  })
}

// 删除互动问题的回答或评论
export function delInteraction_reply(id) {
  return request({
    url: '/study/interaction_reply/' + id,
    method: 'delete'
  })
}
